SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55423: SAS® Contextual Analysis fails to display the Document Proportion and Document Frequency after you run a category

DetailsAboutRate It

In SAS Contextual Analysis, the Document Proportion column in the Categories pane and the Document Frequency column in the Rules pane might be empty. The empty space is displayed after you use the Run menu in the Categories page to compile your topics into categories.

The problem occurs because during the compilation, some temporary files are written to the SASApp/ directory. When running inside SAS Contextual Analysis, the SAS session is spawned by the workspace server, which causes the temporary files to be written to the SASApp/ directory. Unfortunately, most users do not have the permission to write to that directory.

The following two steps work around this problem.

  1. Modify the WorkspaceServer_usermods.sh file in the WorkspaceServer directory under SASApp. Example: "/apps/sas/SAS9x/GOLD/config94/Lev1/SASApp/WorkspaceServer" on a Linux server.

    When you edit this file, simply add "cd $HOME" to the bottom. Example:

    /*
     * sasv9_usermods.cfg
     *
     *   This config file extends options set in sasv9.cfg.  Place your site-specific
     *   options in this file.  Any options included in this file are common across 
     *   all server components in this application server.
     *
     *   Do NOT modify the sasv9.cfg file.
     *
     */
    
    cd $HOME
    
  2. Modify the assigned path for the SASApp - SASDATA library inside SAS® Management Console. By default, the path is relative (looking for Data), and is not available when you apply the step above because you no longer are under the SASApp directory. You need to change the path to be the full path to the Data directory. Example: "/apps/sas/SAS9x/GOLD/config94/Lev1/SASApp/Data", as shown below:

    image label

After making these two changes, the compilation should run successfully.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Contextual Analysis64-bit Enabled AIX13.214.19.4 TS1M29.4 TS1M3
64-bit Enabled Solaris13.214.19.4 TS1M29.4 TS1M3
HP-UX IPF13.214.19.4 TS1M29.4 TS1M3
Linux for x6413.214.19.4 TS1M29.4 TS1M3
Solaris for x6413.214.19.4 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.